package com.zxz.mq.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zxz
 * @since 2021-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TransMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String service;

    private String type;

    private String exchange;

    @TableField("routingkey")
    private String routingKey;

    private String queue;

    private Integer sequence;

    private String payload;

    private LocalDateTime date;


}
